12/7/2016

Motivation

Example: The Moon Song

Chords & Keys

  • A chord is three or more musical notes played at the same time
  • Chord progression
  • Normalize chords to the key of C

Dataset: Billboard

EDA: Genre Popularity over Time

EDA: Major Chords of All Genres

Naive Bayes

  • Classify genres using chords
  • Prediction accuracy: 52%
  • Baseline accuracy: 25% (Enhanced by 107%!)

Sequence Analysis: N-gram

  • An n-gram is a contiguous sequence of n items from a given sequence of text or speech
  • N = 1 (unigram), 2 (bigram), 3 (trigram), 4 (4-gram), ….
  • Widely used in NLP, DNA sequencing…

Chord Sequence Analysis: Bigram

  • Beat It - Michael Jackson

  • C:min => Bb:maj => C:min => Bj:maj => … …

Chord Diagrams of All Genres

Chord Sequence Analysis: 4-Gram

R&B

Country

Shiny App: MelodySoup

  • Generate a chord sequence given a specific genre
  • Recommend next chord based on previous 3 chords sequence
  • Rank by tf-idf (term frequency???inverse document frequency)
  • &^%#!(*^(@(#&)#&)!@)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!